from rest_framework.routers import DefaultRouter
from django.urls import path, include
from rest_framework_simplejwt.views import TokenObtainPairView,TokenRefreshView
from .views import AbsentView,AbsentTypeView,ResponderView


router = DefaultRouter()
router.register('absents', AbsentView)

urlpatterns = [
    path('absenttypes/', AbsentTypeView.as_view(),name='absenttypes'),
    path('responder/', ResponderView.as_view(),name='responder'),

]+  router.urls

